package com.skp.shaphan.report;

import java.io.IOException;
import java.util.ArrayList;

public class TableCompareReport extends BaseReport {
	private ArrayList<String> keys;

	public TableCompareReport() throws IOException {
		super();
		
		writeTitle("Table Compare Report");
	}
	
	public void addTable(String tableName) throws IOException {
		setNormalFontSize(12);
		writeString(tableName);
		this.keys = null;
	}
	
	public void setKeys(ArrayList<String> keys) throws IOException {
		this.keys = keys;
		
		setNormalFontSize(10);
		for(String key : keys) {
			writeString(key);
		}
	}
}
